package com.zc.study.designPattern.创建型设计模式.prototypePattern.shallowClone;

/**
 * 附件类
 */
public class Attachment {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void downLoad() {
        System.out.println("下载附件,文件名为" + name);
    }
}
